package com.example.bawolf.effctivejava.bean;

import java.util.function.Supplier;

/**
 * TestSupplier
 *
 * @author zhougf
 * @date 2020/03/23
 */
public class TestSupplier {

    private String age;

    TestSupplier() {
        System.out.println(age);
    }

    public static void main(String[] args) {
        Supplier<TestSupplier> testSupplierSupplier = TestSupplier ::new;
        System.out.println("........");
        TestSupplier testSupplier1 = testSupplierSupplier.get();
        testSupplierSupplier.get();

    }
}
